package com.baylor.server.business.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.baylor.server.business.entity.XiangAo;

/**
 * 
 * @ClassName: XiangAoRespository
 * @Description: XiangAoRespository接口
 * @author 曹文波
 * @date 2014年2月24日 下午12:25:07
 * 
 */
public interface XiangAoRespository extends
		PagingAndSortingRepository<XiangAo, Long>,
		JpaSpecificationExecutor<XiangAo> {
		public List<XiangAo> findByXiangAoIdAndStatusNot(Long xiangAoId,Integer status);
		public Page<XiangAo> findByStatusNot(Integer status,Pageable pageable);
}
